package com.luych.toolbox.common.feign.view.data.service;

import com.luych.toolbox.common.enums.DataSourceTimeLineType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("数据源时间线-条目")
public class DataSourceTimeLineItemView {

    @ApiModelProperty("序号")
    private Integer num;
    @ApiModelProperty("类型")
    private DataSourceTimeLineType type;
    @ApiModelProperty("时间")
    private String time;
    @ApiModelProperty("用户")
    private String user;
    @ApiModelProperty("内容")
    private String content;
    @ApiModelProperty("结果")
    private Boolean result;
    @ApiModelProperty("关联序号1")
    private Integer relateNum1;
    @ApiModelProperty("关联序号2")
    private Integer relateNum2;
    @ApiModelProperty("关联序号3")
    private Integer relateNum3;
    @ApiModelProperty("数据1")
    private String data1;
    @ApiModelProperty("数据2")
    private String data2;
    @ApiModelProperty("数据3")
    private String data3;
    @ApiModelProperty("数据4")
    private String data4;
    @ApiModelProperty("数据5")
    private String data5;

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public DataSourceTimeLineType getType() {
        return type;
    }

    public String getTypeValue() {
        return type == null ? null : type.getValue();
    }

    public void setType(DataSourceTimeLineType type) {
        this.type = type;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Boolean getResult() {
        return result;
    }

    public void setResult(Boolean result) {
        this.result = result;
    }

    public Integer getRelateNum1() {
        return relateNum1;
    }

    public void setRelateNum1(Integer relateNum1) {
        this.relateNum1 = relateNum1;
    }

    public Integer getRelateNum2() {
        return relateNum2;
    }

    public void setRelateNum2(Integer relateNum2) {
        this.relateNum2 = relateNum2;
    }

    public Integer getRelateNum3() {
        return relateNum3;
    }

    public void setRelateNum3(Integer relateNum3) {
        this.relateNum3 = relateNum3;
    }

    public String getData1() {
        return data1;
    }

    public void setData1(String data1) {
        this.data1 = data1;
    }

    public String getData2() {
        return data2;
    }

    public void setData2(String data2) {
        this.data2 = data2;
    }

    public String getData3() {
        return data3;
    }

    public void setData3(String data3) {
        this.data3 = data3;
    }

    public String getData4() {
        return data4;
    }

    public void setData4(String data4) {
        this.data4 = data4;
    }

    public String getData5() {
        return data5;
    }

    public void setData5(String data5) {
        this.data5 = data5;
    }
}
